package com.neasho.neashoadminv1

import com.neasho.neashoadminv1.infrastructure.utils.MDCUtils
import com.neasho.neashoadminv1.infrastructure.utils.MdcLogType
import org.babyfish.jimmer.client.EnableImplicitApi
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.scheduling.annotation.EnableScheduling

@SpringBootApplication
@EnableImplicitApi
@EnableScheduling
class NeashoAdminV1GradleApplication

fun main(args: Array<String>) {
    MDCUtils.openTraceId(MdcLogType.other)
    runApplication<NeashoAdminV1GradleApplication>(*args)
}
